<template>
  <div>
  <LazyLoadTab v-model="activeName" :tabMenus="menus" ></LazyLoadTab>
   <div class="dialogBottmView">
      <el-button @click="closeDialog">关 闭</el-button>
    </div>
  </div>
</template>

<script>
export default {
  props:{
    value: {
      type: Number,
      default: null,
    },
  },
  data() {
    return {
      activeName: '客户基本信息',   //默认选中
      menus:[
        {
          title: '客户基本信息',
          path: 'customerManage/clue/createClue/infoBase', //文件路径
          params: {
            id: null
          }
        },
        {
          title: '线索分配信息',
          path: 'customerManage/clue/createClue/infoClue',
          params: {
             id: null
          }
        }
      ]
    };
  },
  mounted() {
    this.menus=[
        {
          title: '客户基本信息',
          path: 'potenCus/basedata/onceDriveMileage/infoBase', //文件路径
          params: {
            id: this.value
          }
        },
        {
          title: '线索分配信息',
          path: 'potenCus/basedata/onceDriveMileage/infoClue',
          params: {
             id: this.value
          }
        }
      ]
  },
  methods: {
    closeDialog(){
      this.$emit('close', {visible:false,});
    }
  },
};
</script>
